package com.binary.coder.gift.core.interfaces.bill.dto.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author weitao
 */
@Data
@ApiModel("保存记账请求")
public class SaveAccountRecordReq {

    @ApiModelProperty(value = "ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "关联请柬的ID", example = "1")
    private Long posterId;

    @ApiModelProperty(value = "账单类型：0-送礼 1-收礼", example = "1")
    private Integer accountType;

    @ApiModelProperty(value = "收礼人的ID", example = "2")
    private Long payeeId;

    @ApiModelProperty(value = "收礼人姓名", example = "张三")
    private String payeeName;

    @ApiModelProperty(value = "随礼人的ID", example = "3")
    private Long payerId;

    @ApiModelProperty(value = "随礼人姓名", example = "李四")
    private String payerName;

    @ApiModelProperty(value = "关系类型", example = "1")
    private Integer relationType;

    @ApiModelProperty(value = "随礼金额或收礼金额", example = "100.00")
    private BigDecimal amount;

    @ApiModelProperty(value = "联系电话", example = "13812345678")
    private String phone;

    @ApiModelProperty(value = "联系地址", example = "北京市朝阳区")
    private String address;

    @ApiModelProperty(value = "随礼日期", example = "2024-06-23")
    private LocalDate dateOfGift;

    @ApiModelProperty(value = "描述", example = "送给朋友的生日礼物")
    private String description;

}
